<!DOCTYPE html>
<html lang="en">
  <head>
    <title>@yield('title', '后台首页')</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="{{ url('css/bootstrap.min.css') }}" />
    <link rel="stylesheet" href="{{ url('css/bootstrap-responsive.min.css') }}" />
    <link rel="stylesheet" href="{{ url('css/fullcalendar.css') }}" />
    <link rel="stylesheet" href="{{ url('css/matrix-style.css') }}" />
    <link rel="stylesheet" href="{{ url('css/matrix-media.css') }}" />
    <link rel="stylesheet" href="{{ url('font-awesome/css/font-awesome.css') }}" />
    <link rel="stylesheet" href="{{ url('css/jquery.gritter.css') }}" />
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,800"  type="text/css">
    <style>@yield('admin-css')</style>
  </head>
<body>

<!--Header-part-->
<div id="header">
  <h1><a href="{{ url('admin/index') }}">Matrix Admin</a></h1>
</div>
<!--close-Header-part--> 


<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">
  <ul class="nav">
    <li class="dropdown" id="profile-messages" ><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user"></i>  <span class="text">Welcome User</span><b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li><a href="#"><i class="icon-user"></i> My Profile</a></li>
        <li class="divider"></li>
        <li><a href="#"><i class="icon-check"></i> My Tasks</a></li>
        <li class="divider"></li>
        <li><a href="login.html"><i class="icon-key"></i> Log Out</a></li>
      </ul>
    </li>
    <li class="dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">Messages</span> <b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li><a class="sAdd" title="" href="#"><i class="icon-plus"></i> new message</a></li>
        <li class="divider"></li>
        <li><a class="sInbox" title="" href="#"><i class="icon-envelope"></i> inbox</a></li>
        <li class="divider"></li>
        <li><a class="sOutbox" title="" href="#"><i class="icon-arrow-up"></i> outbox</a></li>
        <li class="divider"></li>
        <li><a class="sTrash" title="" href="#"><i class="icon-trash"></i> trash</a></li>
      </ul>
    </li>
    <li class=""><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">Settings</span></a></li>
    <li class=""><a title="" href="login.html"><i class="icon icon-share-alt"></i> <span class="text">Logout</span></a></li>
  </ul>
</div>
<!--close-top-Header-menu-->

<!--sidebar-menu-->
<div id="sidebar">
  <ul>   
    <li class="submenu">
      <a href="#"><i class="icon icon-user"></i> <span>用户管理</span> </a>
      <ul>
        <li><a href="{{ url('admin/userList') }}">用户列表</a></li>
        <li><a href="{{ url('admin/userAdd') }}">添加用户</a></li>
      </ul>
    </li>
    <li class="submenu">
      <a href="#"><i class="icon icon-map-marker"></i> <span>门店管理</span> </a>
      <ul>
        <li><a href="{{ url('admin/storeList') }}">门店列表</a></li>
        <li><a href="{{ url('admin/storeAdd') }}">添加门店</a></li>
      </ul>
    </li>
    <li class="submenu">
      <a href="#"><i class="icon icon-tag"></i> <span>分类管理</span> </a>
      <ul>
        <li><a href="{{ url('admin/cateList') }}">分类列表</a></li>
        <li><a href="{{ url('admin/cateAdd') }}">添加分类</a></li>
      </ul>
    </li>
    <li class="submenu">
      <a href="#"><i class="icon icon-th-list"></i> <span>商品管理</span> </a>
      <ul>
        <li><a href="{{ url('admin/goodsList') }}">商品列表</a></li>
        <li><a href="{{ url('admin/goodsAdd') }}">添加商品</a></li>
      </ul>
    </li>
    <li class="submenu">
      <a href="#"><i class="icon icon-reorder"></i> <span>套餐管理</span> </a>
      <ul>
        <li><a href="{{ url('admin/mealList') }}">套餐列表</a></li>
        <li><a href="{{ url('admin/mealAdd') }}">添加套餐</a></li>
      </ul>
    </li>
    <li>
      <a href="{{ url('admin/orderList') }}"><i class="icon icon-shopping-cart"></i> <span>订单管理</span> </a>
    </li>
    <li>
      <a href="{{ url('admin/addressList') }}"><i class="icon icon-home"></i> <span>地址管理</span> </a>
    </li>
  </ul>
</div>
<!--sidebar-menu-->

<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
  <div id="content-header">
    <div id="breadcrumb">
      <a href="{{ url('admin/index') }}" title="前往主页" class="tip-bottom">
        <i class="icon-home"></i> 主页</a>
        @yield('current')
    </div>
  </div>
<!--End-breadcrumbs-->

<!--Action boxes-->
  <div class="container-fluid">
    @yield('content')
  </div>
</div>

<!--end-main-container-part-->

<!--Footer-part-->

<div class="row-fluid">
  <div id="footer" class="span12"></div>
</div>

<!--end-Footer-part-->

<script src="{{ url('js/excanvas.min.js') }}"></script>
<script src="{{ url('js/jquery.min.js') }}"></script>
<script src="{{ url('js/jquery.ui.custom.js') }}"></script>
<script src="{{ url('js/bootstrap.min.js') }}"></script>
<script src="{{ url('js/jquery.flot.min.js') }}"></script>
<script src="{{ url('js/jquery.flot.resize.min.js') }}"></script>
<script src="{{ url('js/jquery.peity.min.js') }}"></script>
<script src="{{ url('js/fullcalendar.min.js') }}"></script>
<script src="{{ url('js/matrix.js') }}"></script>
<script src="{{ url('js/matrix.dashboard.js') }}"></script>
<script src="{{ url('js/jquery.gritter.min.js') }}"></script>
<script src="{{ url('js/matrix.interface.js') }}"></script>
<script src="{{ url('js/matrix.chat.js') }}"></script>
<script src="{{ url('js/jquery.validate.js') }}"></script>
<script src="{{ url('js/matrix.form_validation.js') }}"></script>
<script src="{{ url('js/jquery.wizard.js') }}"></script>
<script src="{{ url('js/jquery.uniform.js') }}"></script>
<script src="{{ url('js/select2.min.js') }}"></script>
<script src="{{ url('js/matrix.popover.js') }}"></script>
<script src="{{ url('js/jquery.dataTables.min.js') }}"></script>
<script src="{{ url('js/matrix.tables.js') }}"></script>

</body>
</html>